<?php
class Namemanager_Data_Getnamedata implements Namemanager_Data_Mainable{
    
    private $core_controller_selectdata;
    
    public function __construct() {
        $this->core_controller_selectdata = new Core_Controller_Selectdata;
    }

    public function main(array $variables = null){
        $variables['query'] = "SELECT first_name, last_name FROM username WHERE username='".$_SESSION['username']."'";
        return $this->core_controller_selectdata->main($variables);
    }
}
